import Vue from "vue"
import Router from "vue-router"
import entergame from "@/pages/entergame"
import xylogin from "@/pages/xylogin"
import userbind from "@/pages/userbind"
import userswitch from "@/pages/userswitch"
import rechargerecords from "@/pages/rechargerecords"
import recharge from "@/pages/recharge"
import usersafe from "@/pages/usersafe"
import question from "@/pages/question"
import save from "@/pages/save"
import gotosafari from "@/pages/gotosafari"
import certify from "@/pages/certify"
import certifysuccess from "@/pages/certifysuccess"
import findbackpwd from "@/pages/findbackpwd"
import findbackpwdnobindphone from "@/pages/findbackpwdnobindphone"
import changepwdnobindphone from "@/pages/changepwdnobindphone"
import identitybinded from "@/pages/identitybinded"
import bindphone from "@/pages/bindphone"
import bindphonesuccess from "@/pages/bindphonesuccess"
import phonebinded from "@/pages/phonebinded"
import changepwdbymobile from "@/pages/changepwdbymobile"
import changepwd from "@/pages/changepwd"
import changepwdsuccess from "@/pages/changepwdsuccess"


Vue.use(Router)

export default new Router({
  routes: [
  	{
      //path: '/',
      path: '/entergame',
      name: 'entergame',
      component: entergame
    },   
    {
      //path: '/',
      path: "/xylogin",
      name: "xylogin",
      component: xylogin
    },
    {
      //path: '/',
      path: "/userbind",
      name: "userbind",
      component: userbind
    },
    {
      //path: "/",
      path: "/userswitch",
      name: "userswitch",
      component: userswitch
    },
    {
      // path: '/',
      path: '/rechargerecords',
      name: 'rechargerecords',
      component: rechargerecords
    },
    {
      //path: '/',
      path: '/recharge',
      name: 'recharge',
      component: recharge
    },
    {
      // path: '/',
      path: '/usersafe',
      name: 'usersafe',
      component: usersafe
    },
    {
      //path: '/',
      path: '/question',
      name: 'question',
      component: question
    }, 
    {
      //path: '/',
      path: '/save',
      name: 'save',
      component: save
    },
    {
      //path: '/',
      path: '/gotosafari',
      name: 'gotosafari',
      component: gotosafari
    },
    {
      //path: '/',
      path: '/certify',
      name: 'certify',
      component: certify
    }, 
    {
      //path: '/',
      path: '/certifysuccess',
      name: 'certifysuccess',
      component: certifysuccess
    },
    {
    	//path: '/',
      path: '/findbackpwd',
      name: 'findbackpwd',
      component: findbackpwd
    },
    {
    	//path: '/',
      path: '/findbackpwdnobindphone',
      name: 'findbackpwdnobindphone',
      component: findbackpwdnobindphone    	
    },
    {
    	//path: '/',
      path: '/changepwdnobindphone',
      name: 'changepwdnobindphone',
      component: changepwdnobindphone  	
    },
    {
    	// path: '/',
      path: '/identitybinded',
      name: 'identitybinded',
      component: identitybinded
    },
    {
    	//path: '/',
      path: '/bindphone',
      name: 'bindphone',
      component: bindphone
    },
    {
    	//path: '/',
      path: '/bindphonesuccess',
      name: 'bindphonesuccess',
      component: bindphonesuccess
    },
    {
    	//path: '/',
      path: '/phonebinded',
      name: 'phonebinded',
      component: phonebinded
    },
    {
    	//path: '/',
      path: '/changepwdbymobile',
      name: 'changepwdbymobile',
      component: changepwdbymobile
    },
    {
    	//path: '/',
      path: '/changepwd',
      name: 'changepwd',
      component: changepwd
    },
    {
    	path: '/',
      //path: '/changepwdsuccess',
      name: 'changepwdsuccess',
      component: changepwdsuccess
    }
  ],
  mode: "hash"
})
